package com.wpt.sbtest.test;

import java.util.Arrays;

public class Sort implements Runnable {

    private int number;

    public Sort(int number){
        this.number = number;
    }

    public static void main(String[] args) {
        int[] numbers = new int[]{13,6500032,19,132,12,580,10,6500031};
        for (int number : numbers){
            new Thread(new Sort(number)).start();
        }
    }
    @Override
    public void run() {
        try {
            Thread.sleep(this.number);
            System.out.println(this.number);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
